package song.NO_2;

public class Node {
    private int num;
    private Node next = null;
    public Node(){}
    public Node(final int nums){
        this.num = nums;
    }
    //输出和设置num属性
    public int num_return(){return this.num;}
    public void num_set(final int nums){
        this.num = nums;
    }
    //输出和设置next属性
    public Node next_return(){return this.next;}
    public void next_set(final Node nexts){
        this.next = nexts;
    }
}
